const { DataTypes } = require('sequelize')
const db = require('../db/index')
module.exports = db.define('shoppers', {
    name: DataTypes.CHAR(255),
    phone: DataTypes.CHAR(255),
    lx: DataTypes.CHAR(255),
    fzlx: DataTypes.CHAR(255),
    dname: DataTypes.CHAR(255),
    dymname: DataTypes.CHAR(255),
    address: DataTypes.CHAR(255),
    xxaddress: DataTypes.CHAR(255),
    userinfo: DataTypes.CHAR(255),
    shopinfo: DataTypes.CHAR(255),
    img: DataTypes.CHAR(255),
    userid: DataTypes.INET,
    status: {
        type: DataTypes.INET,
        defaultValue: 0,
    }
}, { timestamps: true })